import request from "@/router/axios";

export const getPurchasePageList = (params) => {
  return request({
    url: "/admin/purchase/list",
    method: "get",
    params: { ...params },
  });
};


export const delPurchaseItem = (row) => {
  return request({
    url: "/admin/purchase/delete",
    method: "post",
    data: row,
  });
};